package mysql

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	Name        string  `gorm:"type:varchar(20);not null;"`
	Price       float64 `gorm:"type:decimal(10,2);not null;"`
	Img         string  `gorm:"type:varchar(256);not null;"`
	Description string  `gorm:"type:varchar(50);not null;"`
	UserId      int64   `gorm:"type:int(10);not null;"`
	Likes       int64   `gorm:"type:int(10);not null;"`
}
